/**
 * output package name
 */
package com.kingdee.eas.custom.wg.sellplan;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class linestatus extends StringEnum
{
    public static final String ADDNEW_VALUE = "1";
    public static final String AUDIT_VALUE = "2";
    public static final String CLOSED_VALUE = "3";

    public static final linestatus addnew = new linestatus("addnew", ADDNEW_VALUE);
    public static final linestatus audit = new linestatus("audit", AUDIT_VALUE);
    public static final linestatus closed = new linestatus("closed", CLOSED_VALUE);

    /**
     * construct function
     * @param String linestatus
     */
    private linestatus(String name, String linestatus)
    {
        super(name, linestatus);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static linestatus getEnum(String linestatus)
    {
        return (linestatus)getEnum(linestatus.class, linestatus);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(linestatus.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(linestatus.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(linestatus.class);
    }
}